#ifndef __SECTION_BASIC_H__
#define __SECTION_BASIC_H__

#include "QKMatrix.h"
#include "BaseType.h"

typedef struct SectionBasic {
	Matrix* mat;
	Point2d origin;
}SectionBasic;

SectionBasic* section_basic_create(FType grade, FType h);
SectionBasic* section_basic_free(SectionBasic* basic);
SectionBasic* section_basic_set_x_grade(SectionBasic* basic, FType grade);
Matrix* section_transform(SectionBasic* basic, Matrix* from_points);

#endif //__SECTION_BASIC_H__